@bg-color:rgb(183,212,169);

*{
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}

body{
    font: bold 20px "Courier";
}

#main{
    width: 360px;
    height: 420px;
    background-color: @bg-color;
    margin: 100px auto;
    border: 10px solid black;
    border-radius: 20px;

    #stage{
        position: relative;
        width: 304px;
        height: 304px;
        border: 2px solid black;
        margin: 20px auto;

        #snake{
            &>div{
                position: absolute;
                width: 10px;
                height: 10px;
                background-color: black;
                border: 1px solid @bg-color;
            }
        }

        #food{
            position: absolute;
            top: 0px;
            left: 0px;
            width: 10px;
            height: 10px;
            background-color: black;
            border: 1px solid @bg-color;
            border-radius: 5px;
        }
    }

    #score-panel{
        display: flex;
        justify-content: space-between;

        #score{
            margin:10px 0 0 20px;
        }

        #level{
            margin:10px 20px 0 0;
        }
    }
}